#include <iostream>
#include <unistd.h>
using namespace std;
#include "ThreadPool.hpp"
#include "Task.hpp"

int main()
{
    ThreadPool<Task> tp;
    tp.Start();
    while(true)
    {
        Task t;
        tp.Push(t);
        sleep(1);
    }
    tp.Destroy();
    return 0;
}